// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
    // 启用页面过渡来为所有的页面应用自动过渡效果
    app: {
        head: {
            script: [
                { src: "/live2dw/lib/L2Dwidget.min.js" }
            ],
        },

        pageTransition: { name: 'page', mode: 'out-in' },

    },
    pages: true,
    devServer: {
        port: 3001,
    },
    devtools: { enabled: false },
    modules: [
        '@element-plus/nuxt',
        'nuxt-particles',

    ],
    css: [
        'element-plus/dist/index.css',

    ],
    plugins: [
        { src: '~/plugins/life-cycle.js' },
    ],

})
